<%-------------------------------------------------------------------
 * 页面名称：telBankInpour_2.jsp
 * 功能描述：电话银行充值－确认充值信息
 * Action  : telBankInpour
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-html.tld" prefix="html"%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ taglib uri="struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
	String path = request.getContextPath();
%>
<script type='text/javascript' src='<%=path%>/js/ufront.js'></script>
<script type='text/javascript' src='<%=path%>/dwr/interface/accountTemplate.js'></script>
<script type='text/javascript' src='<%=path%>/js/vnv/commonForManage.js'></script>
<script language="JavaScript" type="text/JavaScript">
function dosubmit(btnObj){
	var formObj = document.forms[0];
	if(checkNecessaryInput(formObj)){
		if(btnObj!=undefined) btnObj.disabled = true;
		formObj.submit();
	}
}
function doback(){
	document.forms[0].step.value = "0";
	document.forms[0].target = "_self";
	document.forms[0].submit();
}
function init(){
	UFront.initPage();
	DWREngine.setPreHook();
  	DWREngine.setPostHook();
}
</script>
<div id="mainFrame">
  <div class="rightSider2">
    <div class="sub_title"><span class="bluefont18bdrop">电话银行充值</span></div>
    <div class="edit_pass">
	<html:form method="post" action="telBankInpour" target="_blank">
	  <input name="merchantId" type="hidden" value="<bean:write name="subAccount" property="account.accountId" />">
	  <input name="merchantUrl" type="hidden" value="/route.do?modual=inpour_draw$netBank$response">
	  <input name="currencyType" type="hidden" value="CNY"><!-- 人民币 -->
	  <input name="responseMode" type="hidden" value="2"><!-- 后台方式响应 -->
	  <input name="assuredPay" type="hidden" value="false"><!-- 非担保交易 -->
	  <input name="remark" type="hidden" value=""><!-- 备注 -->
	  <html:hidden property="actionType" />
	  <html:hidden property="step" />
      <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="blueborder">
        <tr>
          <td colspan="2" align="right">&nbsp;</td>
        </tr>
        <tr>
          <td width="50%" align="right">充值子账户：</td>
          <td width="77%" class="fontgraydrop14">
		  <bean:write name="subAccount" property="accountName" /><html:hidden property="subAccountId"/>
		  </td>
        </tr>
        <tr>
          <td align="right">充值子账户当前余额：</td>
          <td class="fontgraydrop14"><span id="debitSubAccountBalanceSpan" class="orangefont14b">
		  <ad:FormatPrase><bean:write name="subAccount" property="accountBalance.balance" /></ad:FormatPrase>
		  </span> 元</td>
        </tr>
          <tr>
            <td width="50%" align="right">充值金额：</td>
            <td width="77%" class="fontgraydrop14">
				<bean:parameter id="amount" name="amount"/>
				<span id="debitSubAccountBalanceSpan" class="orangefont14b">
				<ad:FormatPrase><bean:write name="amount"/></ad:FormatPrase> 
				</span>元
				<html:hidden property="amount"/>
			 </td>
          </tr>
		  <tr>
            <td align="right">手续费用：</td>
            <td class="fontgraydrop14"><span id="debitSubAccountBalanceSpan" class="orangefont14b">
			<ad:FormatPrase><bean:write name="fee"/></ad:FormatPrase>
			</span> 元</td>
          </tr>
          <tr>
            <td align="right">预留电话：</td>
            <td class="fontgraydrop14">
			<html:hidden property="orderTelephone" write="true"/></td>
          </tr>
          <tr>
            <td align="right">选择的网上银行：</td>
            <td>
			<html:hidden property="bankId" /><input type="hidden" name="bankCode" value="<bean:write name="bank" property="bankCode" />" />
			<img alt="<bean:write name="bank" property="bankName" />" src="<%=path%>/images/bank/logo/logo_<bean:write name="bank" property="bankCode" />.gif" />
			</td>
          </tr>
          <tr>
            <td align="right">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
        </form>
      </table>
      <table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="50%" align="right">
		  <input name="previous" type="button" class="button_style" onclick="doback();" value="上一步"/>&nbsp;
		  </td>
          <td width="50%">
		  &nbsp;<input name="confirm" type="button" class="button_style" onclick="dosubmit(this);" value="确 定"/>
		  </td>
        </tr>
      </table>
	 </html:form>
    </div>
  </div>
</div>
<div style="clear:both;"></div>